#define _CRT_SECURE_NO_WARNINGS 1\

#include "SeqList.h"

int main()
{
	SeqList s;
	SeqListInit(&s);
	SeqListPushhead(&s, 1);
	SeqListPushhead(&s, 2);
	SeqListPrint(&s);
	SeqListPushhead(&s, 3);
	SeqListPrint(&s);
	SeqListPushback(&s, 5);
	SeqListPrint(&s);
	int pos = SeqListFind(&s, 3);
	printf("%d\n", pos);
	SeqListInsert(&s, pos, 5);
	SeqListPrint(&s);
	SeqListErase(&s, 0);
	SeqListPrint(&s);
	SeqListErase(&s, 3);
	SeqListPrint(&s);
	SeqListErase(&s, 1);
	SeqListPrint(&s);
	SeqListErase(&s, 1);
	SeqListPrint(&s);
	SeqListErase(&s, 0);
	SeqListPrint(&s);
	SeqListErase(&s, 0);
	SeqListPrint(&s);
	SeqListDestory(&s);	
	return 0;
}

